home *** CD-ROM | disk | FTP | other *** search
/ CD ROM Paradise Collection 4 / CD ROM Paradise Collection 4 1995 Nov.iso / graphics / pcdcad33.zip / PCDCAD1.EXE / lha / BBSINST.BAT < prev    next >
DOS Batch File  |  1990-04-13  |  5KB  |  106 lines

  1. echo off
  2. cls
  3. echo\
  4. echo       ┌────────────────────────────────────────────────────────────┐
  5. echo       │       PC-Draft-CAD   Installation  (BBS version)           │
  6. echo       │       This will create a START.BAT file apropriate for     │
  7. echo       │       display system. It creates 4 subdirectories for      │
  8. echo       │       fonts, drawings, libraries, and macros -- and copies │
  9. echo       │       the appropriate files to them.                       │
  10. echo       │                                                            │
  11. echo       │       This batch file is for those of you who              │
  12. echo       │       have obtained PC-Draft-CAD from a BBS and have       │
  13. echo       │       unpacked the three self extracting LHARC EXE files.  │
  14. echo       │                                                            │
  15. echo       │       If you got PC-Draft-CAD on disk, you should not      │
  16. echo       │       run this. Instead run the INSTALL.BAT file on the    │
  17. echo       │       floppy disk.                                         │
  18. echo       │                                                            │
  19. echo       │       You should have all the files from the three self-   │
  20. echo       │       extracting EXE files in one sub-directory before     │
  21. echo       │       running this.                                        │
  22. echo       │                                                            │
  23. echo       │       If you do not wish to continue, press Ctrl-C.        │
  24. echo       │                                                            │
  25. echo       └────────────────────────────────────────────────────────────┘
  26. echo\
  27. pause
  28. md fon
  29. md dwg
  30. md lib
  31. md mac
  32. copy *.fon fon
  33. del *.fon
  34. copy *.dwg dwg
  35. del *.dwg
  36. copy *.lib lib
  37. del *.lib
  38. copy *.mac mac
  39. del *.mac
  40. cls
  41. echo       ┌────────────────────────────────────────────────────────────┐
  42. vidtest
  43. if errorlevel 7 goto HERCULES
  44. if errorlevel 5 goto VGACOLOR
  45. if errorlevel 4 goto VGAMONO
  46. if errorlevel 3 goto EGACOLOR
  47. if errorlevel 2 goto EGAMONO
  48. if errorlevel 1 goto CGA
  49. echo       │       Error in detecting video adapter                     │
  50. echo       └────────────────────────────────────────────────────────────┘
  51. goto exit
  52. :HERCULES    
  53. echo       │       You have a Hercules monochrome Color display         │
  54. echo       │     - You can later delete the other display drivers:      │
  55. echo       │         ( vgadrv.exe, cgadrv.exe, svgadrv.exe )            │
  56. echo       └────────────────────────────────────────────────────────────┘
  57. copy hgcstart.bat start.bat
  58. goto exit
  59. :VGACOLOR    
  60. echo       │       You have a VGA with Color display                    │
  61. echo       │     - You can later delete the other display drivers:      │
  62. echo       │         ( hgcdrv.exe, cgadrv.exe )                         │
  63. echo       └────────────────────────────────────────────────────────────┘
  64. copy vgastart.bat start.bat
  65. goto exit
  66. :VGAMONO    
  67. echo       │       You have a VGA with Monochrome display               │
  68. echo       │     - You can later delete the other display drivers:      │
  69. echo       │         ( hgcdrv.exe, cgadrv.exe )                         │
  70. echo       └────────────────────────────────────────────────────────────┘
  71. copy vgastart.bat start.bat
  72. goto exit
  73. :EGACOLOR
  74. echo       │       You have a EGA with Color display                    │
  75. echo       │     - You can later delete the other display drivers:      │
  76. echo       │         ( hgcdrv.exe, cgadrv.exe, svgadrv.exe )            │
  77. echo       └────────────────────────────────────────────────────────────┘
  78. copy vgastart.bat start.bat
  79. goto exit
  80. :EGAMONO    
  81. echo       │       You have a EGA with Monochrome display               │
  82. echo       │     - You can later delete the other display drivers:      │
  83. echo       │         ( hgcdrv.exe, cgadrv.exe, svgadrv.exe )            │
  84. echo       └────────────────────────────────────────────────────────────┘
  85. copy vgastart.bat start.bat
  86. copy cga.cfg draft3.cfg
  87. goto exit
  88. :CGA
  89. echo       │       You have a CGA display                               │
  90. echo       │     - You can later delete the other display drivers:      │
  91. echo       │         ( hgcdrv.exe, vgadrv.exe, svgadrv.exe )            │
  92. echo       └────────────────────────────────────────────────────────────┘
  93. echo You have a CGA 
  94. copy cgastart.bat start.bat
  95. copy cga.cfg draft3.cfg
  96. :exit
  97. echo\
  98. echo       ┌────────────────────────────────────────────────────────────┐
  99. echo       │  Installation is complete. To start PC-Draft-CAD, enter:   │
  100. echo       │                                                            │
  101. echo       │                       START                                │
  102. echo       └────────────────────────────────────────────────────────────┘
  103. echo\
  104. echo\
  105.  
  106.